//
//  MVTableList.m
//  __PRODUCTNAME__
//
//  Created by QC.L on 16/08/15
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "MVTableList.h"
#import "MVConllectionList.h"

@implementation MVTableList
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"mvlist"]) {
        NSMutableArray <MVConllectionList *> *mvlistArr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            MVConllectionList *mvlist = [MVConllectionList modelWithDic:dic];
            [mvlistArr addObject:mvlist];
        }
        _mvlist = mvlistArr;
    }
}


+ (NSDictionary *)objectClassInArray{
    return @{@"mvlist" : [MVConllectionList class]};
}

@end
